home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / awe2-0_1.lha / awe2-0.1 / Src / RCS / LowerBoundedFifo.h,v < prev    next >
Text File  |  1989-02-23  |  1KB  |  98 lines

  1. head     3.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    grunwald:3.2; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 3.2
  10. date     89.02.20.15.35.58;  author grunwald;  state Exp;
  11. branches ;
  12. next     3.1;
  13.  
  14. 3.1
  15. date     88.12.20.13.50.03;  author grunwald;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     88.10.30.13.05.54;  author grunwald;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     88.09.18.16.42.11;  author grunwald;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @@
  32.  
  33.  
  34. 3.2
  35. log
  36. @Start using Gnu library heaps for schedulers
  37. @
  38. text
  39. @// This may look like C code, but it is really -*- C++ -*-
  40. // 
  41. // Copyright (C) 1988 University of Illinois, Urbana, Illinois
  42. //
  43. // written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
  44. //
  45. #ifndef LOWERBOUNDEDFIFOH
  46. #define LOWERBOUNDEDFIFOH
  47.  
  48. #include "Semaphore.h"
  49. #include "LockedFifo.h"
  50.  
  51. class LowerBoundedFifo : public LockedFifo {
  52.  
  53. protected:
  54.     Semaphore lowerBoundLock;
  55.     
  56. public:
  57.     
  58.     LowerBoundedFifo(int defaultLength = 0);
  59.     
  60.     virtual void add(AwesimeFifoItem *t);
  61.     virtual bool remove(AwesimeFifoItem *item);
  62.     virtual bool removeIfFound(AwesimeFifoItem *item);
  63.     
  64.     virtual bool doDelete(AwesimeFifoIndex& index);
  65.     
  66.     virtual unsigned size();
  67.     
  68.     virtual void classPrintOn(ostream& s);
  69. };
  70.  
  71. #endif LOWERBOUNDEDFIFOH
  72. @
  73.  
  74.  
  75. 3.1
  76. log
  77. @Steay version
  78. @
  79. text
  80. @@
  81.  
  82.  
  83. 1.2
  84. log
  85. @*** empty log message ***
  86. @
  87. text
  88. @@
  89.  
  90.  
  91. 1.1
  92. log
  93. @Initial revision
  94. @
  95. text
  96. @d1 6
  97. @
  98.